package com.zh.mediaservice.service;

import com.zh.mediapojo.dto.OrderDTO;
import com.zh.mediapojo.vo.AlipayVO;
import com.zh.mediapojo.vo.ReserveOrderVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface OrderService {

    AlipayVO createOrder(OrderDTO order);

    void notifyOrder(HttpServletRequest request);

    void selectOrderStatus(String outTradeNo);

    List<ReserveOrderVO> getUserOrder(Long userId);
    void adjustConcurrency(Integer doctorId,String reserveTime);
    AlipayVO payNotPayOrder(Long id);
}
